package com.css.fxfzypg.modules.suggestinfo.analysis.annualrisk.repository;

import com.css.fxfzypg.modules.suggestinfo.analysis.annualrisk.repository.entity.AnnualRiskEntity;
import com.css.fxfzypg.modules.suggestinfo.analysis.suggestionanalysis.vo.ParamsVo;

import java.util.List;

public interface AnnualRiskRepository {
    Boolean save(AnnualRiskEntity annualRiskEntity);

    Boolean update(AnnualRiskEntity annualRiskEntity);

    AnnualRiskEntity getAnnualRiskData(ParamsVo params);

    List<AnnualRiskEntity> getAnnualRiskDataByTaskNum(String taskNum);
    AnnualRiskEntity getAnnualRiskDataByTaskNum(String taskNum, String cityId, String areaId);

    List<AnnualRiskEntity> getAnnualRiskAreaData(ParamsVo paramsVo);

    int getCountById(String id);
}
